<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/pages/share/taglib.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>运城市安全生产隐患排查治理信息系统</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="<%=basePath%>/css/style.css" rel="stylesheet" type="text/css"/>
	<script src="<%=basePath%>/js/js.js" type="text/javascript"></script>
	<script type="text/javascript" src="<%=basePath%>/js/jquery-1.7.2.js"></script>
	<script type="text/javascript" src="<%=basePath%>/js/dbdialog/lhgdialog.min.js<%=Util.LHGDIALOG%>"></script>
	<script type="text/javascript" src="<%=basePath%>/js/util.js"></script>
	<script type="text/javascript">
		function opdlg(id){
   			infoDialog('yhInfo','隐患详细信息','800','400','<%=path%>/zczb/_yhShow.action?yhId='+id+'');
		}
	</script>
  </head>
  
 <body>
<div id="allbody">
	<div class="head">
		<iframe src="<%=basePath%>/head.jsp" width="1160" height="218" scrolling="no" frameborder="0" ></iframe>
	</div>
	<div class="con">
		<div class="left">
			<div class="left_info">
				<iframe src="<%=basePath%>/left_info.jsp" width="244" height="250" id="iframeleft_top"  onLoad="iFrameHeight()"  scrolling="no" frameborder="0" ></iframe>
			</div>
			<div class="left_link">
				<iframe src="<%=basePath%>/zczb_left.jsp" width="244" height="200" id="iframeleft_link"  onLoad="iFrameHeight2()" scrolling="no" frameborder="0" ></iframe>
			</div>
		</div>
		<div class="right">
			<div class="right_map">
				<div style="float: left;"><a href="<%=basePath%>/corp/index.action">首页</a> &gt; <span><a href="<%=basePath%>/zczb/_index.action">自查自报</a></span>&gt; <span>未处理隐患</span></div>
				<div class="map_btn">
			  		<input type="button" name="btntj" class="input_link" onclick="window.location.href='<%=basePath%>/zczb/wcl_list.action?cYear=${cYear }'" value="返 回"/>
				</div>
			</div>
			<div class="right_list">
				<table border="0" cellpadding="0" cellspacing="0" align="center" class="infolist">
					<tr class="cz">
						<th width="20%">隐患类型</th>
			     		<th width="32%">自查标准</th>
			     		<th width="8%">隐患级别</th>
			     		<th width="8%">发现时间</th>
			     		<th width="8%">隐患描述</th>
			     		<th width="8%">整改期限</th>
			     		<th width="8%">整改措施</th>
						<th width="8%" style="border-right:none">操作</th>
					</tr>
					<s:if test="%{objList.size>0}">
					  	<s:iterator id="obj" value="objList" status="x">
					  		<tr class="cz">
								<td align="center">${obj.yhType1Name}&nbsp;${obj.yhType2Name}&nbsp;${obj.yhType3}&nbsp;${obj.yhType4}</td>
					     		<td align="left">${obj.yhInfo }</td>
					     		<td align="center">
					     			<s:if test="%{#obj.yhType==0}">无隐患</s:if>
					     			<s:if test="%{#obj.yhType==1}"><font color="red"><a href="javascript:void(0)" onclick="opdlg('${obj.id }');" title="点击查看隐患信息">一般隐患</a></font></s:if>
					     			<s:if test="%{#obj.yhType==2}"><font color="red"><a href="javascript:void(0)" onclick="opdlg('${obj.id }');" title="点击查看隐患信息">重大隐患</a></font></s:if>
					     		</td>
					     		<td align="center"><s:date name="#obj.yhFxTime" format="yyyy-MM-dd"/> </td>
					     		<td align="center">${obj.yhQk }</td>
					     		<td align="center"><s:if test="%{#obj.yhIsZg==0}"><s:date name="#obj.yhZgTime" format="yyyy-MM-dd"/></s:if><s:else><s:date name="#obj.yhWcTime" format="yyyy-MM-dd"/></s:else> </td>
					     		<td align="center">
					     			<s:if test="%{#obj.yhZgType==1}">立即整改</s:if>
					     			<s:if test="%{#obj.yhZgType==2}">限期整改</s:if>
					     			<s:if test="%{#obj.yhZgType==3}">停产停业整顿</s:if>
					     		</td>
					     		<td align="center"><a href="<%=basePath%>/zczb/wcl_yhZg.action?yhId=${obj.id }&hzdId=${hzdId }&cYear=${cYear }" title="填写整改信息">整改</a></td>
							</tr>
					  		
					  	</s:iterator>						  
					</s:if>
					<s:else>
					 	<tr>
							<td colspan="8" height="40" style="text-align:center">
							  	无自查内容
							</td>
						</tr>
					</s:else>
				</table>
			</div>
		</div>
	</div>
	<div class="foot">
		<iframe src="<%=basePath%>/foot.html" width="1160" height="89" scrolling="no" frameborder="0" ></iframe>
	</div>
</div>
</body>
</html>
